package com.zxc.demo.services.impl;

import com.zxc.demo.dao.EmpDao;
import com.zxc.demo.services.EmpServices;

public class EmpServicesImpl implements EmpServices {
    private EmpDao empDao;
    @Override
    public void say() {
        empDao.sayHello();
        System.out.println("这个是EmpServices");
    }

    public EmpDao getEmpDao() {
        return empDao;
    }

    public void setEmpDao(EmpDao empDao) {
        this.empDao = empDao;
    }
}
